//
//  Const.h
//  Box2dDemo
//
//  Created by Thi Huynh on 9/5/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

//============================== DEFINITION ===============================//

/************** OBJECT TYPE SECTION ***************/

/************** TAG SECTION ***************/
#define PLAYER_TAG 101
#define OBSTACLE_TAG 202
#define WALL_TAG 303
#define UNDEFINE_TAG 123456789

/**************** COLOR ****************/
#define BLACk ccc3(0,0,0)
#define RED ccc3(255, 0, 0)
#define GREEN ccc3(0, 255, 0)
#define BLUE ccc3(0, 0, 255) 
#define YELLOW ccc3(255, 255, 0)
#define TURQUOISE ccc3(0, 255, 255)
#define PINK ccc3(255, 0, 255) 
#define ORANGE ccc3(255, 255, 255)

/************** MACRO SECTION ****************/
#define SCREEN_WIDTH [[CCDirector sharedDirector] winSize].width
#define SCREEN_HEIGTH [[CCDirector sharedDirector] winSize].height
#define WIN_SIZE [CCDirector sharedDirector].winSize

/************** CONSTANT SECTION ***********/
const float PTM_RATIO = 32.0f;
const int TILESIZE = 32;
const int TILESET_COLUMNS = 9;
const int TILESET_ROWS = 19;


/************** ENUM SECTION *****************/
enum EnumObjectTag 
{
    EnumObjPlayerTag, 
    EnumObjOsbtacleTag,
    EnumObjBoxTag,
    EnumObjCircleTag,
    
};

enum EnumGameScene
{
    EnumGamePlayScene,
    EnumGameMenuScene,
    EnumGameFinishScene,
    EnumGameLevelSelectScene,
    EnumGameOptionScene,
    EnumGameHelpScene,
    EnumGameTest,
};

enum EnumLayerTag
{
    EnumLayerTestTag,
};

enum EnumJointType
{
    EnumMouseJoint,
    EnumWheelJoint,
    EnumDistanceJoint,
    EnumGearJoint,
    EnumWeldJoint,
    EnumFrictionJoint,
    EnumPrismaticJoint,
    EnumRevoluteJoint,
    EnumPulleyJoint,
};






